xen/x86: Drop sync_core()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 19 May 2017 10:01:42 +0000 (11:01 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 31 May 2017 16:54:19 +0000 (17:54 +0100)
commit7c96d4e6b1452af3c8a11a09cab9c7f488b73733
tree541c9008823f05ad1e66feb787a8bed1509455b0
parentb01c2fb5834aea0328db55c310caa34173021d3d
xen/x86: Drop sync_core()

As identified in Linux c/s c198b121b1a1d "x86/asm: Rewrite sync_core() to use
IRET-to-self", sync_core() is only appropriate for two very specific usecases.

Xen doesn't have need of either of these usecases, so drop sync_core() to
avoid any misuse.

In the unlikely event that we do gain a legitimate use for sync_core(), it
should be reintroduced as a mov to %cr2 rather than cpuid, which has a lower
overhead.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/asm-x86/processor.h